package com.test.nnooolwdeaer.activity_fragment_wooden;

import android.os.Bundle;

import com.test.nnooolwdeaer.R;
import com.test.nnooolwdeaer.activity_fragment_wooden.base_wooden.BaseActivity_wooden;
import com.test.nnooolwdeaer.activity_fragment_wooden.base_wooden.BaseApplication_wooden;
import com.test.nnooolwdeaer.util_wooden.analytics_wooden.util_wooden.AnalyticsUtil_wooden;
import com.test.nnooolwdeaer.view_wooden.widget_wooden.TitleView_wooden;

public class UsagePermissionGuideActivity extends BaseActivity_wooden {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_usage_permission_guide);
        init();
    }

    private void init(){
        TitleView_wooden titleView_wooden = findViewById(R.id.activity_usage_permission_guide_view_title);
        setBackBtn_wooden(titleView_wooden.getBackIb_wooden());

        findViewById(R.id.activity_usage_permission_guide_btn_next).setOnClickListener(v -> {
            AnalyticsUtil_wooden.INSTANCE.startToUsageStatsPermissionSettingPage(BaseApplication_wooden.getApplication());
            finish();
        });
    }
}